package edu.ccut.saturn.tag.complex.util;

import java.io.Writer;


public class MenuHelper {

	public static void outputStartSection1(Writer writer, MenuItemVo vo)
			throws Exception {

		writer.write("<item ");
		writer.write(XmlHelper.tagProperty1(vo, "name"));
		writer.write(XmlHelper.tagProperty1(vo, "label"));
		writer.write(XmlHelper.tagProperty1(vo, "path"));
		writer.write(">\n");
	}

	public static void outputEndSection1(Writer writer, Object obj)
			throws Exception {

		writer.write("</item>\n");
	}

}
